|
haptic5 2.2.0
|
Haptic 5 Click configuration object. More...
#include <haptic5.h>
Data Fields | |
| pin_name_t | scl |
| pin_name_t | sda |
| pin_name_t | pwm |
| pin_name_t | trg |
| pin_name_t | rst |
| pin_name_t | dir |
| uint32_t | dev_pwm_freq |
| uint32_t | i2c_speed |
| uint8_t | i2c_address |
Haptic 5 Click configuration object.
Configuration object definition of Haptic 5 Click driver.
| uint32_t dev_pwm_freq |
PWM frequency value.
| pin_name_t dir |
Motor drive direction pin (PWM mode only - low:forward, high:reverse).
| uint8_t i2c_address |
I2C slave address.
| uint32_t i2c_speed |
I2C serial speed.
| pin_name_t pwm |
PWM pin.
| pin_name_t rst |
Reset pin (active low).
| pin_name_t scl |
Clock pin descriptor for I2C driver.
| pin_name_t sda |
Bidirectional data pin descriptor for I2C driver.
| pin_name_t trg |
Trigger haptics pin (I2C mode only).